package net.cyue.web.easyquery.core.http.adapter;

import net.cyue.web.easyquery.core.http.api.IHTTPRequest;

public abstract class AbstractHTTPRequest<TRequest> implements IHTTPRequest {

    protected final TRequest request;

    public AbstractHTTPRequest(TRequest request)
    {
        this.request = request;
    }

    /**
     * 获取原始请求对象
     * @return 原始请求对象
     */
    public TRequest getRequest() {
        return this.request;
    }
}
